package com.helloscala.model

import org.squeryl.KeyedEntity
import org.squeryl.dsl.CompositeKey2

import yangbajing.persistence.SquerylEntrypoint.compositeKey

case class MUserRole(
                      user_id: String,
                      role_id: String) extends KeyedEntity[CompositeKey2[String, String]] {
  def id = compositeKey(user_id, role_id)
}
